package com.xuzhiguang.baidu.pan.sdk.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;

/**
 * @author xuzhiguang
 * @date 2020/6/26 2:54
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@JsonIgnoreProperties(ignoreUnknown = true)
public class OAuthUserInfoResult extends OAuthErrorResult {

    private Integer userid;

    private Integer securemobile;

    private String username;

    private String realname;

    private String portrait;

    private String userdetail;

    private String birthday;

    private String marriage;

    private String sex;

    private String blood;

    private String figure;

    private String constellation;

    private String education;

    private String trade;

    private String job;

    private Integer isBindMobile;

    private Integer isRealname;

    @Override
    public String toString() {
        return "OAuthUserInfoResult{" +
                "userid=" + userid +
                ", securemobile=" + securemobile +
                ", username='" + username + '\'' +
                ", realname='" + realname + '\'' +
                ", portrait='" + portrait + '\'' +
                ", userdetail='" + userdetail + '\'' +
                ", birthday='" + birthday + '\'' +
                ", marriage='" + marriage + '\'' +
                ", sex='" + sex + '\'' +
                ", blood='" + blood + '\'' +
                ", figure='" + figure + '\'' +
                ", constellation='" + constellation + '\'' +
                ", education='" + education + '\'' +
                ", trade='" + trade + '\'' +
                ", job='" + job + '\'' +
                ", isBindMobile=" + isBindMobile +
                ", isRealname=" + isRealname +
                '}' +
                "super=" + super.toString();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getSecuremobile() {
        return securemobile;
    }

    public void setSecuremobile(Integer securemobile) {
        this.securemobile = securemobile;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public String getUserdetail() {
        return userdetail;
    }

    public void setUserdetail(String userdetail) {
        this.userdetail = userdetail;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getMarriage() {
        return marriage;
    }

    public void setMarriage(String marriage) {
        this.marriage = marriage;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBlood() {
        return blood;
    }

    public void setBlood(String blood) {
        this.blood = blood;
    }

    public String getFigure() {
        return figure;
    }

    public void setFigure(String figure) {
        this.figure = figure;
    }

    public String getConstellation() {
        return constellation;
    }

    public void setConstellation(String constellation) {
        this.constellation = constellation;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getTrade() {
        return trade;
    }

    public void setTrade(String trade) {
        this.trade = trade;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public Integer getIsBindMobile() {
        return isBindMobile;
    }

    public void setIsBindMobile(Integer isBindMobile) {
        this.isBindMobile = isBindMobile;
    }

    public Integer getIsRealname() {
        return isRealname;
    }

    public void setIsRealname(Integer isRealname) {
        this.isRealname = isRealname;
    }
}
